package com.cuihaodong.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author cuihaodong
 */

public class InstanceInfo implements Serializable{

    private static final long serialVersionUID = 6529685098267757690L;

    private String ip;
    private String port;
    private String applicationName;
    private Date registerDate;

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "InstanceInfo{" +
                "ip='" + ip + '\'' +
                ", port='" + port + '\'' +
                ", applicationName='" + applicationName + '\'' +
                ", registerDate=" + registerDate +
                '}';
    }
}
